<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>父模板</title>
</head>
<body>
    <h1>头部信息</h1>
    <hr>
    {% block content %}
        这个地方是主体内容
    {% endblock%}
    <hr>
    <h1>底部信息</h1>
    {% block footer%}
    
    {% endblock%}
</body>
</html>